{
  "$schema": "http://json.schemastore.org/tsconfig",
<% if (project.loopbackBuild) { -%>
  "extends": "@loopback/build/config/tsconfig.common.json",
  "compilerOptions": {
    "outDir": "dist",
    "rootDir": "src"
  },
  "include": ["src"]
<% } else { -%>
  "compilerOptions": {
    "outDir": "dist",
    "rootDir": "src",

    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "noImplicitAny": true,
    "strictNullChecks": true,
    "resolveJsonModule": true,
    "skipLibCheck": true,

    "incremental": true,

    "lib": ["es2018", "esnext.asynciterable"],
    "module": "commonjs",
    "esModuleInterop": true,
    "moduleResolution": "node",
    "target": "es2017",
    "sourceMap": true,
    "declaration": true
  },
  "include": ["src"],
  "exclude": [
    "**/node_modules/**",
    "**/dist/**",
    "**/*.d.ts"
  ]
<% } -%>
}
